package com.niiwoo.civet.mobile.vo.response.bankcard;

import com.niiwoo.civet.mobile.vo.common.BankCardRebindCheckVO;
import com.niiwoo.civet.mobile.vo.common.BankCardVO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.util.Date;

/**
 * Created by wangjichao on 2017/10/16.
 */
@Setter
@Getter
@ApiModel
public class GetUserBankCardResponseVO {
    @ApiModelProperty(value = "用户银行卡", required = true)
    private BankCardVO bankCard;

    @ApiModelProperty(value = "换绑卡相关检查条件", required = true)
    private BankCardRebindCheckVO rebindCheck;

    @ApiModelProperty(value = "是否有换绑申请审核中的记录", required = true)
    private boolean hasRebindApply;

    @ApiModelProperty(value = "预期审核时间,有换绑申请时返回此字段", required = false)
    private Date expectAuditTime;

    @ApiModelProperty(value = "预期审核时间是否当日", required = false)
    private Boolean expectAuditTimeIsToday;

    @ApiModelProperty(value = "是否支持代扣", required = true)
    private Boolean isSupportWithhold;

    @ApiModelProperty(value = "银行卡OCR开关，0：关闭  1：开启", required = true)
    private Byte bankCardOcrSwitch;

    @ApiModelProperty(value = "还款服务委托书地址", required = false)
    private String withholdContractUrl;
}
